<?php

include __DIR__ . '/vendor/autoload.php';
use Kinfy\Config;
use Kinfy\View\View;
use Kinfy\Http\Route;

//判断网站是否关闭
if (Config::get('app.status') == 'SHUTDOWN') {
    View::show('shutdown');
    //echo '网站修复中，请稍后再来！';
    die;
}
Route::get('/aa','Article@index');
Route::get('/aa','Article@gettop');
//派发路由->把路由分配下去
//Route::init();
//Route::dispatch();


